var write = function (code,msg,data) {
    return{
        code: code,
        msg: msg,
        data: data?data:'',
        version: 'blog-v1.0'
    }
}

module.exports = write;